package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.MeetLogMapper;
import com.ruoyi.system.domain.MeetLog;
import com.ruoyi.system.service.IMeetLogService;

/**
 * 会议日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
@Service
public class MeetLogServiceImpl implements IMeetLogService 
{
    @Autowired
    private MeetLogMapper meetLogMapper;

    /**
     * 查询会议日志
     * 
     * @param id 会议日志主键
     * @return 会议日志
     */
    @Override
    public MeetLog selectMeetLogById(Long id)
    {
        return meetLogMapper.selectMeetLogById(id);
    }

    /**
     * 查询会议日志列表
     * 
     * @param meetLog 会议日志
     * @return 会议日志
     */
    @Override
    public List<MeetLog> selectMeetLogList(MeetLog meetLog)
    {
        return meetLogMapper.selectMeetLogList(meetLog);
    }

    /**
     * 新增会议日志
     * 
     * @param meetLog 会议日志
     * @return 结果
     */
    @Override
    public int insertMeetLog(MeetLog meetLog)
    {
        return meetLogMapper.insertMeetLog(meetLog);
    }

    /**
     * 修改会议日志
     * 
     * @param meetLog 会议日志
     * @return 结果
     */
    @Override
    public int updateMeetLog(MeetLog meetLog)
    {
        return meetLogMapper.updateMeetLog(meetLog);
    }

    /**
     * 批量删除会议日志
     * 
     * @param ids 需要删除的会议日志主键
     * @return 结果
     */
    @Override
    public int deleteMeetLogByIds(Long[] ids)
    {
        return meetLogMapper.deleteMeetLogByIds(ids);
    }

    /**
     * 删除会议日志信息
     * 
     * @param id 会议日志主键
     * @return 结果
     */
    @Override
    public int deleteMeetLogById(Long id)
    {
        return meetLogMapper.deleteMeetLogById(id);
    }
}
